package com.zoweunion.mechanic.dao.base;

import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

@Component
public interface BlackEnclosureDao {

    int addBlackEnclosure(Map<String, Object> reqMap);

    int addBlackEnclosureNotifier(@Param("maps") List<Map<String, Object>> maps);

    int addBlackEnclosurePolygon(@Param("maps") List<Map<String, Object>> maps);

    int delBlackEnclosureList(Map<String, Object> reqMap);

    int delBlackEnclosurePolygon(Map<String, Object> reqMap);

    int delBlackEnclosureNotifier(Map<String, Object> reqMap);

    List<Map<String, Object>> getBlackEnclosureList(Map<String, Object> reqMap);

    List<Map<String, Object>> getAllBlackEnclosurePolygonByEId(@Param("maps") List<Map<String, Object>> maps);

    Integer getBlackEnclosureListCount(Map<String, Object> reqMap);

    Map<String, Object> getBlackEnclosureById(Map<String, Object> reqMap);

    List<Map<String, Object>> getBlackEnclosureNotifierByEId(Map<String, Object> reqMap);

    List<Map<String, Object>> getBlackEnclosurePolygonByEId(Map<String, Object> reqMap);

    List<Map<String, Object>> getAllBlackEnclosureBySid(Map<String, Object> reqMap);

}
